home *** CD-ROM | disk | FTP | other *** search
/ New Perspectives on Computer Concepts / New Perspectives on Computer Concepts.iso / np2010c / page99.pag < prev    next >
Portable Network Graphic  |  2008-10-02  |  95KB  |  817x1045  |  8-bit (256 colors)
Labels: book | chat room | hakham | reckoner | road | sky
OCR: COMPUTERS AND DIGITAL BASICS machine language instruction has two parts: the op code and the operands. An op code which is short for operation code, is a command word for an operation such as add, compare of jump. The operand for an instruction specifies the data, or the address of the data for the operation In the following instruction the op code means ppe and the operand is so the instruction means Add Op code 00000 100 0000000 Operand A single high-level instruction very often converts into multiple machine lan- guage instructions. Figure 1-36 illustrates the number of machine language instructions that correspond to.a simple high-level program #include <stdio.h> 001 1001111011110111111111111 100000 FIGURE 1-36 int main (int argc, char *argv([1) 1010111110111111 00000000000 00000 10100 ...